/*--NOLLSTÄLLNING---------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/body

{
    background: black url(Images/bg9.jpg) fixed repeat-x 0% top;
	background-size: 65%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

header
{
	width: 875px;
	height: 100px;
    background: url(Images/logga2.png)top;
    background-repeat: no-repeat;
    background-position: left;
	margin: auto;	
	margin-top: 30px;		
}

/*LOGINDISPLAY*/

#loginDisplay
{
    height: 30px;
    border: 1px solid black;   
    background: #444;
    background: -moz-linear-gradient(#313434, #161818);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #161818),color-stop(1, #313434));
    background: -webkit-linear-gradient(#313434 #161818);
    background: linear-gradient(#313434, #161818);
    border-bottom: 1px solid #313434;     
}

.LoginTxt
{
	margin-top: 8px;
	margin-left: 5px;
	color: grey;
	font-size: 0.7em;
}

#frmLoginUser input
{
	float: left;
	margin: 5px;
	height: 12px;
	width: 100px;
	font-size: 0.6em;
}

#frmLoginUser .button
{
	height: 20px;
	width: 60px;
	margin-top: 4px;
	border-radius: 0px;	
	border: 1px solid #685300;
	text-transform: uppercase;
	font-size: 0.6em;
	font-weight: bolder;
}

.LoginTxt,
#frmLoginUser, 
#frmLoginUser input
{
	float: left;
}

#frmLoginUser #check
{
	margin-top: 8px;
	width: 10px;	
}

.LoginError
{
    text-align: center;
    font-size: 0.8em;
    border-radius: 3px;
    width: 210px;
    padding: 5px;
    background: red;
	margin-top: 40px;
	margin-left: 80px;
	float: inherit;
    color: lightgrey;
    text-shadow: 1px 1px 1px black;	
}

/*GENERELLA ID:N*/

#container
{
	width: 875px;
	margin: auto;
	overflow: hidden;
}

#content
{
	width: 600px;
	min-height: 540px;
	border: 1px solid black;
	background: white;	
	padding: 10px;
	float: left;	
    background: #191919;	
    border-radius: 2px;
}

.contentText
{
    color: grey;
    font-size: 0.8em;
    margin-top: 3px;
    margin-left: 3px;
    line-height: 15px;
}

.contentText a
{
    color: #8FA3A7;
    text-decoration: none;
}

.contentText a:hover
{
    color: #DBB093;
}

.contentHeader
{
    border-radius: 2px;
    padding: 8px;
    background: -moz-linear-gradient(#8FA3A7, #2D5148);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #2D5148),color-stop(1, #8FA3A7));
    background: -webkit-linear-gradient(#8FA3A7 #2D5148);
    background: linear-gradient(#8FA3A7, #2D5148);  
    border: 1px solid #313434; 
    margin-top: -4px;
    margin-bottom: 7px;       
}

.contentHeader h2, #content h3
{
    color: white;
    font-size: 0.8em;
    text-shadow: 1px 1px 5px black;
}

#subcontent
{
	width: 229px;
	min-height: 540px;
	border: 1px solid black;
	background: white;	
	padding: 10px;
	float: right;
    background: #191919;
    border-radius: 2px;    			
}

/*MENYN*/

nav 
{  
    width: 876px;  
    height: 50px;  
    background: #444;
    background: -moz-linear-gradient(#476A6B, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #476A6B));
    background: -webkit-linear-gradient(#476A6B #111);
    background: linear-gradient(#476A6B, #111);
    border-top: 2px solid #939393;  
    position: relative; 
    margin: auto; 
    font-size: 0.8em;
    border-radius: 6px;
}

ul 
{  
    margin: 0;  
    padding: 0;  
}  
  
ul.menu 
{  
    height: 50px;  
    border-left: 1px solid rgba(0,0,0,0.3);  
    border-right: 1px solid rgba(255,255,255,0.3);  
    float:left;  
}  
  
ul.menu li {  
    list-style: none;  
    float:left;  
    height: 49px;  
    text-align: center;  
}  
  
ul.menu li a   
{
    color: #FFFFFF;
    text-shadow: 1px 1px 2px black;
    display: block;  
    padding: 0 20px;  
    border-left: 1px solid rgba(255,255,255,0.1);  
    border-right: 1px solid rgba(0,0,0,0.1);  
    text-align: center;  
    line-height: 49px;  
    background : -webkit-gradient(linear, left top, left bottombottom, from(rgb(168,168,168)), to(rgb(69,69,69)));  
    background: -moz-linear-gradient(linear, left top, left bottombottom, from(rgb(168,168,168)), to(rgb(69,69,69)));  
    -webkit-transition-property: background;  
    -webkit-transition-duration: 700ms;  
    -moz-transition-property: background;  
    -moz-transition-duration: 700ms;  
    text-decoration: none;
}  
      
ul li a:hover   
{
    color: #FFFFFF;
    background: transparent none; 
    background: -webkit-gradient(radial, 50% 100%, 10, 50% 50%, 90, from(rgba(126,154,147,1)), to(rgba(17,52,43, 1)) );  
    background: -moz-radial-gradient(radial, 50% 100%, 10, 50% 50%, 90, from(rgba(126,154,147,1)), to(rgba(17,52,43, 1)) );  
}  
  
ul li.active a 
{
    color: #FFFFFF;
    background: -webkit-gradient(radial, 50% 100%, 10, 50% 50%, 90, from(rgba(31,169,244,1)), to(rgba(0,28,78, 1)) );  
    background: -moz-radial-gradient(center 80px 45deg, circle cover, rgba(31,169,244,1) 0%, rgba(0,28,78, 1) 100%);  
}

/*TOPICLIST*/

.topics, .userPanel, .myPosts
{
    border-radius: 2px;
    padding: 8px;
    padding-top: 1px;
    margin-top: 5px;
    background: #444;
    background: -moz-linear-gradient(#343434, #191919);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #191919),color-stop(1, #343434));
    background: -webkit-linear-gradient(#343434 #191919);
    background: linear-gradient(#343434, #191919);   
    border: 1px solid #313434;        
}

#content .topics
{
      background: URL(Images/TT2.png) no-repeat, -webkit-gradient(linear,left bottom,left top,color-stop(0, #191919),color-stop(1, #343434));    
      background: URL(Images/TT2.png) no-repeat, -moz-linear-gradient(#343434, #191919);
      padding-left: 40px;
}

.topics .nameAndDate, .myPosts .nameAndDate
{
    color: grey;
    font-size: 0.6em;
    margin-top: 3px;
    text-shadow: 2px 1px 2px black;      
}

.postCount
{
    visibility: hidden;
    float: right;
}

#content .postCount
{
    height: 10px;
    visibility: visible;
    float: right;
    color: grey;
    font-size: 0.7em;
    margin-top: 3px;
    text-shadow: 1px 1px 1px black;
    margin-top: -30px;
    padding-top: 13px;
    padding-bottom: 12px;
    margin-right: 50px;
    padding-left: 50px;  
    border-left: 1px solid #313434;   
}

.listHeader, .userPanel a
{
    color: #8FA3A7;
    font-size: 0.7em;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 2px 1px 2px black;      
}

.listHeader:hover
{
    color: #DBB093;
}


/*TOPIC*/


.topicHTML
{
    border-top-right-radius: 10px;   
    border-top-left-radius: 10px;  
    margin-top: -4px;
}
.thread
{
    background: white;
    /*border-radius: 1px;*/
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;     
    margin: -0px;
}

.topicContent
{
    padding: 6px;
}

.topicHeader
{
    border-top-right-radius: 1px; 
    border-top-left-radius: 1px;    
  background: #8FA3A7;
  background: -moz-linear-gradient(#8FA3A7, #2D5148);
  background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #2D5148),color-stop(1, #8FA3A7));
  background: -webkit-linear-gradient(#8FA3A7 #2D5148);
  background: linear-gradient(#8FA3A7, #2D5148);  
    border-top: 1px solid #313434;
  border-bottom: 1px solid #313434;  
    padding: 4px;
    margin: 0px;
}

.thread h2
{
  /*#ff7400*/
  color: white;
  font-weight: bold;
  font-size: 0.8em;
  text-shadow: 1px 1px 3px black;
}

.thread .nameAndDate
{
   padding-left: 2px;     
    color: lightgrey;
    font-size: 0.6em;
    margin-top: 3px;    
}

.topicContent
{
    font-size: 0.8em;
    margin-top: 8px;
    padding-bottom: 20px;
    line-height: 15px;
	word-wrap:break-word;    
}
.editDeleteTopic .button
{
    float: right;
    margin-left: 5px;
}

.editDeleteTopic
{
    overflow: hidden;
    padding: 5px;
    padding-bottom: 10px;
    margin-top: -20px;
    background: white;
}
/*POSTS*/

.postHTML
{
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
}

.postHTML .deleteForm 
{
	background: white;
	margin-top: -15px;
	padding: 5px;
	padding-bottom: 33px;
	border-bottom-left-radius: 1px;
	border-bottom-right-radius: 1px;
}


.deletePost
{
 float: right   
}

.postContent
{
    font-size: 0.8em;
    padding: 8px;
    line-height: 15px;    
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;   
	word-wrap:break-word;         
}

.postDiv
{
  background: white;
  margin-top: -3px;
  border-bottom-left-radius: 1px;
  border-bottom-right-radius: 1px;  
}

.postDiv .nameAndDate
{
  font-size: 0.6em;		
  color: white;  
  background: #8FA3A7;
  background: -moz-linear-gradient(#8FA3A7, #2D5148);
  background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #2D5148),color-stop(1, #8FA3A7));
  background: -webkit-linear-gradient(#8FA3A7 #2D5148);
  background: linear-gradient(#8FA3A7, #2D5148);  
  height: 12px;
  padding: 4px;
  border-top: 1px solid #313434;
  border-bottom: 1px solid #313434; 
  text-shadow: 1px 1px 6px black; 
  /*border-bottom: 1px solid grey;*/

}

#newPostContentBox
{
    width: 574px;
    height: 150px;
    margin-left: 10px;
    margin-top: 10px;
    resize: none;    
}

#frmNewPost .contentHeader
{  
    margin-top: 5px;
    margin-left: -3px;
    margin-bottom: -0px;
    width: 589px;
}

#frmNewPost .button
{  
    float:  right;
    margin-right: 9px;
}

#frmNewPost
{  
    width:600px;
    height: 230px;
    background: white;
    border-radius: 2px;
}

/*SUBCONTENT*/

.userPanel
{
    height: 50px;
    margin-bottom: 10px;    
}

.userPanel a
{
    color: rgb(185, 123, 82);
    margin-top: 10px;
}

.userPanel p
{
    margin-top: 5px;
}

.userPanel a:hover
{
    color: lightgrey;
}


/*NEW TOPIC*/

.topicForm, #frmRegUser
{
    width: 577px;
    border-radius: 5px;
    margin-left: 1px;
    padding: 10px;
    min-height: 250px;
    background: #267759; 
    background: #444;
    background: -moz-linear-gradient(lightgrey, rgb(72, 88, 82));
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, rgb(72, 88, 82)),color-stop(1, lightgrey));
    background: -webkit-linear-gradient(lightgrey, rgb(72, 88, 82));
    background: linear-gradient(lightgrey, rgb(72, 88, 82));   
    border: 1px solid #313434;           
}

.contentBox
{
    width: 490px;
    height: 200px;
    float:right;
    padding-right: 10px;
    margin-top: 3px;
	margin-bottom: 2px;  
    resize: none;	  
}

.formHeader
{
	margin-right: 150px;
	margin-left: 21px;
	width: 300px;
}

.button,
.deleteForm .deletePost
{
	height: 20px;
	min-width: 60px;
	margin-top: 4px;	
	text-transform: uppercase;
	font-weight: bold;
	border: 1px solid #685300;
    background: #444;
    background: -moz-linear-gradient(#476A6B, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #476A6B));
    background: -webkit-linear-gradient(#476A6B #111);
    background: linear-gradient(#476A6B, #111);
	border-radius: 1px;
	font-size: 0.6em;
	font-family: arial;
	color: #8F8F8F;
}

.button:hover,
.deleteForm .deletePost:hover
{
    background: #444;
    background: -moz-linear-gradient(#111,#3A3A3A);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #3A3A3A),color-stop(1, #111));
    background: -webkit-linear-gradient(#111 #476A6B);
    background: linear-gradient(#111, #476A6B);
    
}

.topicForm p, #frmRegUser p
{
    color: white;
    font-size: 0.75em;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 0px 10px black;  
    float: left; 
    margin-top: 4px;         
}

.topicForm .button
{
    margin-top: 5px;
    margin-left: 516px
}

/*MESSAGES*/

.msg
{
    color: grey;
    font-size: 0.8em;
    margin-top: 3px;
    text-shadow: 2px 1px 2px black;   
    text-align: center;
}

.errorMsg
{
    margin: auto;
    width: 350px;
    margin-top: 15px;
    font-size: 0.8em;
    background: red;
    color: lightgrey;
    padding: 10px;
    border-radius: 4px;
    text-shadow: 1px 1px 1px black;
    text-align: center;
}

/*MY POSTS*/

.postHTML .contentHeader
{
    margin-top: 6px;
}

.myPosts .nameAndDate
{
    float: right;
    margin-top: 5px;
}

.myPosts a
{
    font-size: 0.7em;
    font-weight: normal;
}

/*REGISTERFORM*/

#frmRegUser
{
    margin: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    min-height: 125px;
    width: 320px;      
    padding-left: 15px;
    padding-top: 15px;
}

#frmRegUser p
{
    padding-top: 6px;
    margin-right: 5px;
  
}

#frmRegUser .regName
{
    margin-left: 76px;      
}

#frmRegUser .regPw
{
    margin-left: 49px;      
}


#frmRegUser input
{
    width: 160px; 
    margin-top: 5px;    
}

#frmRegUser .button
{
    float: right;
    width: 75px;   
    margin-right: 33px;
    margin-top: 10px; 
}

/*FOOTER*/
footer
{
    padding: 6px;
	width: 863px;
	height: 161px;
	border: 1px solid black;
	margin: auto;
	margin-top: 2px;	
	margin-bottom: 20px;
    background: #111111;	
    border-radius: 2px;	
}

footer div
{
    width: 269px;
    height: 175px;
    float: left;
    margin: 10px;
}

footer div
{
    width: 267px;
    height: 175px;
    float: left;
    margin: 10px;
}
footer div h3,
footer div .contentHeader
{
	border: none;
	background: none;
	padding: 0px;
	margin: 0px;
	color: #B4B4B4;
	font-size: 0.6em;
	font-weight: bold;
}

footer div p,
footer div .contentText
{
	color: #5A5A5A;
    font-size: 0.6em;
    margin: 0px;
    margin-top: 3px;   
    line-height: 14px;
}